package com.sitech.timing;

import javax.servlet.ServletContext;

import com.sitech.server.ServerStart;

public class TimingStart implements ServerStart
{
	private TaskEngine taskEngine;
	private int orderNo;

	public TaskEngine getTaskEngine()
	{
		return taskEngine;
	}

	public void setTaskEngine(TaskEngine taskEngine)
	{
		this.taskEngine = taskEngine;
	}

	public void start()
	{
		taskEngine.start();		
	}

	/**
	 * (non-Javadoc)
	 * @see com.sitech.server.ServerStart#start(javax.servlet.ServletContext)
	 */
	public void start(ServletContext context)
	{
		taskEngine.start();
	}

	public int getOrderNo()
	{
		return orderNo;
	}

	public void setOrderNo(int orderNo)
	{
		this.orderNo = orderNo;
	}
}
